<?php

namespace App\Library\Requests\Cart;

use App\Library\Requests\Base\BaseDTORequest;

class CartEditRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            $this->No => 'required|string|size:20|regex:' . __('com.numReg'),
            'quantity' => 'required|integer|min:1'
        ];
    }
}
